import { http } from '@/utils/http'
import type { CategoryItem } from '@/types/category'

//分类列表
export const getCategoryTopAPI = () => {
  return http<CategoryItem[]>({
    url: '/category/top',
    method: "GET"
  })
}
